package cn.vendai.com.entity;

import lombok.NoArgsConstructor;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.time.Instant;

@Document(collection = "conversations")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Conversation {
    @Id
    private String id; // conversationId (yyyy-MM-dd-uuid)
    private String userId;
    private Instant createTime;
}
